package com.ws.shop.dao;

import com.ws.shop.bean.Page;
import com.ws.shop.entity.Mall;
import com.ws.shop.entity.Order;

public interface MallDao {

	public Page findMallPageByTitle(int pageno,int pagesize, String title);

	public void saveOrUpdate(Mall mall);

	public Mall findMallById(int id);

	public Object[] integralConversion(final Order order);

	public Page findMallPage(int pageno, int pagesize, int cid, int startScore,
			int endScore,int state);

	public void updateState(int id, int state);
}
